WP_Defender\Upgrader C

Total Complexity 105
Dependencies 8
Dependents 0
Total lines 504
Lines of code 325
Logical lines of code 197
Comment lines 130
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
migrate_security_headers()
D
32 43 84
upgrade_2_4_10()
A
41 14 57
run()
A
48 11 36
upgrade_2_5_0()
A
48 11 32
migrate_configs()
A
47 9 34
maybe_show_new_features()
S
67 3 8
add_index_to_defender_audit_log()
S
60 2 14
add_index_to_defender_lockout()
S
61 2 13
add_index_to_defender_email_log()
S
64 2 9
add_index_to_defender_scan_item()
S
64 2 9
add_index_to_defender_lockout_log()
S
64 2 9
migrate_scan_integrity_check()
S
72 1 5
index_database()
S
67 1 9
upgrade_2_5_2()
S
80 1 3
upgrade_2_5_4()
S
80 1 3